package com.bojx.report.controller;

import com.jfinal.core.Controller;

public class TestController extends Controller {
	public void index(){
		try{
			 System.out.println("getContextPath---"+this.getRequest().getContextPath());
			 System.out.println("getServletPath---"+this.getRequest().getServletPath());
			 System.out.println("getRequestURI---"+this.getRequest().getRequestURI());
			 System.out.println("getRequestURL---"+this.getRequest().getRequestURL());
			 System.out.println("getRealPath---"+this.getRequest().getRealPath("/"));
			 System.out.println(this.getSession().getServletContext().getRealPath("/"));
			render("index.html");
		}catch(Exception e){
			e.printStackTrace();
	
		}
		
	}
}
